package com.qfmy.common.constant;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.common.constant
 * @date 2025/4/13
 * @description redis常量类
 */
@SuppressWarnings("all")
public class RedisConstant {
    public static final String ADMIN_LOGIN_PREFIX = "admin:login:";
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;
    public static final String APP_LOGIN_PREFIX = "app:login:";
    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;
    public static final Integer APP_LOGIN_TOKEN_TTL_SEC = 24;
    public static final String PASSWORD_ERROR_COUNT_PREFIX = "app:password:error:count:";
    public static final String ACCOUNT_LOCK_PREFIX = "app:account:lock:";
    public static final String APP_TOKEN_PREFIX = "app:token:";
    public static final String APP_REFRESH_TOKEN_PREFIX = "app:refresh:token:";
    public static final long APP_USER_TIME = 1 ;
}
